import { createRouter, createWebHistory } from 'vue-router'
import LayOut from "@/views/View/LayOut.vue";
import ResumeUpload from "@/views/View/ResumeManage/ResumeUpload.vue";
import PostUpLoad from "@/views/View/PostManage/PostUpLoad.vue";
import ConnectUs from "@/views/View/ConnectUs.vue";
import Login from "@/views/View/Login.vue";
import Register from "@/views/View/Register.vue";
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'LayOut',
      component: LayOut,
      children:[
          { path: '/resumeUpload', name:'resumeUpload',component: ResumeUpload },
          { path:'/postUpload',name :'postUpLoad',component:PostUpLoad},
          { path:'/connectUs',name :'connectUs',component:ConnectUs}
      ]
    },
    {
      path: '/login',
      name:'Login',
      component:Login
    },
    {
      path: '/Register',
      name:'Register',
      component:Register
    }

  ]
})

export default router
